require 'orator/cli'

namespace :orator do

  desc "starts the orator server."
  task :server => :environment do
    cli = Orator::CLI.new
    Orator.debug = Rails.env.development?
    cli.start
  end
end
